package cn.wolfcode.ssm.domain;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Getter
@Setter
public class OperationLog {
    /** */
    private Long id;

    /** */
    private String username;

    /** */
    private String operationName;

    /** */
    private String requestMethod;

    /** */
    private String requestArgument;

    /** */
    private Long executeTime;

    /** */
    private String ipAddress;

    /** */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operationDate;

    /** */
    private Boolean result;

    /** */
    private String errorMsg;

}